<template>
  <div>
    <Alert v-for="alert in alerts" :key="alert.id" :type="alert.type" show-icon closable>{{ alert.content }}</Alert>
  </div>
</template>

<script>
export default {
  name: 'AlertList',
  props: {
    alerts: {
      type: Array,
      default() {
        return [{
          id: '',
          type: '',
          content: ''
        }]
      }
    }
  }
}
</script>

<style scoped>

</style>
